nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

pythonPackages.locket: Move to own file

authored by

Elis Hirwing and committed by
Frederik Rietdijk
1b659167 c6d8004f

+24 -22
+23
pkgs/development/python-modules/locket/default.nix
··· 1 + { stdenv, buildPythonPackage, fetchPypi, pytest }: 2 + 3 + buildPythonPackage rec { 4 + pname = "locket"; 5 + version = "0.2.0"; 6 + 7 + src = fetchPypi { 8 + inherit pname version; 9 + sha256 = "1d4z2zngrpqkrfhnd4yhysh66kjn4mblys2l06sh5dix2p0n7vhz"; 10 + }; 11 + 12 + buildInputs = [ pytest ]; 13 + 14 + # weird test requirements (spur.local>=0.3.7,<0.4) 15 + doCheck = false; 16 + 17 + meta = with stdenv.lib; { 18 + description = "Locket implements a lock that can be used by multiple processes provided they use the same path."; 19 + homepage = https://github.com/mwilliamson/locket.py; 20 + license = licenses.bsd2; 21 + maintainers = with maintainers; [ teh ]; 22 + }; 23 + }
+1 -22
pkgs/top-level/python-packages.nix
··· 2049 2049 2050 2050 linuxfd = callPackage ../development/python-modules/linuxfd { }; 2051 2051 2052 - locket = buildPythonPackage rec { 2053 - name = "locket-${version}"; 2054 - version = "0.2.0"; 2055 - 2056 - src = pkgs.fetchurl { 2057 - url = "mirror://pypi/l/locket/${name}.tar.gz"; 2058 - sha256 = "1d4z2zngrpqkrfhnd4yhysh66kjn4mblys2l06sh5dix2p0n7vhz"; 2059 - }; 2060 - 2061 - buildInputs = with self; [ pytest ]; 2062 - propagatedBuildInputs = with self; [ ]; 2063 - 2064 - # weird test requirements (spur.local>=0.3.7,<0.4) 2065 - doCheck = false; 2066 - 2067 - meta = { 2068 - description = "Locket implements a lock that can be used by multiple processes provided they use the same path."; 2069 - homepage = "https://github.com/mwilliamson/locket.py"; 2070 - license = licenses.bsd2; 2071 - maintainers = with maintainers; [ teh ]; 2072 - }; 2073 - }; 2052 + locket = callPackage ../development/python-modules/locket { }; 2074 2053 2075 2054 tblib = buildPythonPackage rec { 2076 2055 name = "tblib-${version}";