pythonPackages.python-doi: init at 0.1.1
Required by the new papis 0.9
This commit is contained in:
21
pkgs/development/python-modules/python-doi/default.nix
Normal file
21
pkgs/development/python-modules/python-doi/default.nix
Normal file
@@ -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 ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user