git.iko.soy/typeable/nixpkgs
on master help sign in
pythonPackages.python-doi: init at 0.1.1

Required by the new papis 0.9

commitd0e33f172d3584cdb84d7e362106343f7f7ad33b authorMatthieu Coudron <mattator@gmail.com> dateWed 23 Oct 2019, 12:58 (7 years ago) parent671a8ae
2 files changed+23
pkgs/development/python-modules/python-doi/default.nix+21 pkgs/top-level/python-packages.nix+2
pkgs/development/python-modules/python-doi/default.nixnew file+21
@@ -0,0 +1,21 @@
1+{ stdenv, buildPythonPackage, fetchFromGitHub, isPy3k }:
2+
3+buildPythonPackage rec {
4+ pname = "python-doi";
5+ version = "0.1.1";
6+
7+ src = fetchFromGitHub {
8+ owner = "papis";
9+ repo = "python-doi";
10+ rev = "v${version}";
11+ sha256 = "1wa5inh2a0drjswrnhjv6m23mvbfdgqj2jb8fya7q0armzp7l6fr";
12+ };
13+
14+ disabled = !isPy3k;
15+
16+ meta = with stdenv.lib; {
17+ description = "Python library to work with Document Object Identifiers (doi)";
18+ homepage = https://github.com/alejandrogallo/python-doi;
19+ maintainers = with maintainers; [ teto ];
20+ };
21+}
pkgs/top-level/python-packages.nix+2
@@ -6229,6 +6229,8 @@ in {
62296229
62306230 python-docx = callPackage ../development/python-modules/python-docx { };
62316231
6232+ python-doi = callPackage ../development/python-modules/python-doi { };
6233+
62326234 aiohue = callPackage ../development/python-modules/aiohue { };
62336235
62346236 PyMVGLive = callPackage ../development/python-modules/pymvglive { };