Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ stdenv 2, fetchPypi 3, buildPythonPackage 4, zope_interface 5, mock 6}: 7 8 9buildPythonPackage rec { 10 pname = "transaction"; 11 version = "2.4.0"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "17wz1y524ca07vr03yddy8dv0gbscs06dbdywmllxv5rc725jq3j"; 16 }; 17 18 propagatedBuildInputs = [ zope_interface mock ]; 19 20 meta = with stdenv.lib; { 21 description = "Transaction management"; 22 homepage = https://pypi.python.org/pypi/transaction; 23 license = licenses.zpl20; 24 }; 25}