Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at gcc-offload 34 lines 720 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5}: 6 7buildPythonPackage rec { 8 pname = "durus"; 9 version = "4.2"; 10 11 src = fetchPypi { 12 pname = "Durus"; 13 inherit version; 14 hash = "sha256:1gzxg43zawwgqjrfixvcrilwpikb1ix9b7710rsl5ffk7q50yi3c"; 15 }; 16 17 # Checks disabled due to missing python unittest framework 'sancho' in nixpkgs 18 doCheck = false; 19 20 pythonImportsCheck = [ 21 "durus.connection" 22 "durus.file_storage" 23 "durus.client_storage" 24 "durus.sqlite_storage" 25 ]; 26 27 meta = with lib; { 28 description = "Object persistence layer"; 29 mainProgram = "durus"; 30 homepage = "https://github.com/nascheme/durus"; 31 license = licenses.mit; 32 maintainers = with maintainers; [ grindhold ]; 33 }; 34}