nixpkgs/pkgs/development/python-modules/first/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

21 lines
485 B
Nix

{ stdenv, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "first";
version = "2.0.2";
src = fetchPypi {
inherit pname version;
sha256 = "1gykyrm6zlrbf9iz318p57qwk594mx1jf0d79v79g32zql45na7z";
};
doCheck = false; # no tests
meta = with stdenv.lib; {
description = "The function you always missed in Python";
homepage = https://github.com/hynek/first/;
license = licenses.mit;
maintainers = with maintainers; [ zimbatm ];
};
}