Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
989 B · 46 lines
Nix
at litex
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647{ lib, fetchFromGitHub, buildPythonPackage, pythonOlder, pytestCheckHook}:
buildPythonPackage rec { pname = "dacite"; version = "1.8.0"; format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub { owner = "konradhalas"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-aQwQHFWaXwTaA6GQgDcWT6ivE9YtWtHCTOtxDi503+M="; };
postPatch = '' substituteInPlace pyproject.toml \ --replace "--benchmark-autosave --benchmark-json=benchmark.json" "" '';
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "dacite" ];
disabledTestPaths = [ "tests/performance" ];
meta = with lib; { description = "Python helper to create data classes from dictionaries"; homepage = "https://github.com/konradhalas/dacite"; changelog = "https://github.com/konradhalas/dacite/blob/v${version}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ fab ]; };}