Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / python-doi / default.nix
blobe0cb03d611d1e02e92133aa1c5f62cafdca26fe1
1 { lib, buildPythonPackage, fetchFromGitHub, isPy3k }:
3 buildPythonPackage rec {
4   pname = "python-doi";
5   version = "0.1.1";
7   src = fetchFromGitHub {
8     owner = "papis";
9     repo = "python-doi";
10     rev = "v${version}";
11     sha256 = "1wa5inh2a0drjswrnhjv6m23mvbfdgqj2jb8fya7q0armzp7l6fr";
12   };
14   disabled = !isPy3k;
16   meta = with 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   };