8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
21 lines
551 B
Nix
21 lines
551 B
Nix
{ 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 ];
|
|
};
|
|
}
|