Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildPythonPackage, fetchPypi, mock, testscenarios, docutils, lockfile }: 2 3buildPythonPackage rec { 4 pname = "python-daemon"; 5 version = "2.2.3"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "affeca9e5adfce2666a63890af9d6aff79f670f7511899edaddca7f96593cc25"; 10 }; 11 12 # A test fail within chroot builds. 13 doCheck = false; 14 15 buildInputs = [ mock testscenarios ]; 16 propagatedBuildInputs = [ docutils lockfile ]; 17 18 meta = with lib; { 19 description = "Library to implement a well-behaved Unix daemon process"; 20 homepage = https://alioth.debian.org/projects/python-daemon/; 21 license = [ licenses.gpl3Plus licenses.asl20 ]; 22 }; 23}