Skip to content

Commit

Permalink
pythonPackages.python-doi: init at 0.1.1
Browse files Browse the repository at this point in the history
Required by the new papis 0.9
  • Loading branch information
teto authored and jonringer committed Oct 23, 2019
1 parent 671a8ae commit d0e33f1
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
21 changes: 21 additions & 0 deletions pkgs/development/python-modules/python-doi/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{ stdenv, buildPythonPackage, fetchFromGitHub, isPy3k }:

buildPythonPackage rec {
pname = "python-doi";
version = "0.1.1";

src = fetchFromGitHub {
owner = "papis";
repo = "python-doi";
rev = "v${version}";
sha256 = "1wa5inh2a0drjswrnhjv6m23mvbfdgqj2jb8fya7q0armzp7l6fr";
};

disabled = !isPy3k;

meta = with stdenv.lib; {
description = "Python library to work with Document Object Identifiers (doi)";
homepage = https://github.com/alejandrogallo/python-doi;
maintainers = with maintainers; [ teto ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6229,6 +6229,8 @@ in {

python-docx = callPackage ../development/python-modules/python-docx { };

python-doi = callPackage ../development/python-modules/python-doi { };

aiohue = callPackage ../development/python-modules/aiohue { };

PyMVGLive = callPackage ../development/python-modules/pymvglive { };
Expand Down

0 comments on commit d0e33f1

Please sign in to comment.