2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, buildPythonPackage, fetchFromGitHub, isPy3k }:
|
2019-10-23 04:58:27 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "python-doi";
|
|
|
|
version = "0.1.1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "papis";
|
|
|
|
repo = "python-doi";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1wa5inh2a0drjswrnhjv6m23mvbfdgqj2jb8fya7q0armzp7l6fr";
|
|
|
|
};
|
|
|
|
|
|
|
|
disabled = !isPy3k;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-10-23 04:58:27 +01:00
|
|
|
description = "Python library to work with Document Object Identifiers (doi)";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/alejandrogallo/python-doi";
|
2019-10-23 04:58:27 +01:00
|
|
|
maintainers = with maintainers; [ teto ];
|
|
|
|
};
|
|
|
|
}
|