depot/third_party/nixpkgs/pkgs/development/python-modules/python-doi/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

27 lines
575 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
isPy3k,
}:
buildPythonPackage rec {
pname = "python-doi";
version = "0.1.1";
format = "setuptools";
src = fetchFromGitHub {
owner = "papis";
repo = "python-doi";
rev = "v${version}";
sha256 = "1wa5inh2a0drjswrnhjv6m23mvbfdgqj2jb8fya7q0armzp7l6fr";
};
disabled = !isPy3k;
meta = with lib; {
description = "Python library to work with Document Object Identifiers (doi)";
homepage = "https://github.com/alejandrogallo/python-doi";
maintainers = with maintainers; [ teto ];
};
}