diff --git a/pkgs/development/python-modules/sharedmem/default.nix b/pkgs/development/python-modules/sharedmem/default.nix index 8a108b52da76..277b0c47a0ca 100644 --- a/pkgs/development/python-modules/sharedmem/default.nix +++ b/pkgs/development/python-modules/sharedmem/default.nix @@ -6,25 +6,28 @@ numpy, }: -buildPythonPackage rec { - +buildPythonPackage (finalAttrs: { pname = "sharedmem"; version = "0.3.8"; pyproject = true; + __structuredAttrs = true; + src = fetchPypi { - inherit pname version; - sha256 = "c654a6bee2e2f35c82e6cc8b6c262fcabd378f5ba11ac9ef71530f8dabb8e2f7"; + inherit (finalAttrs) pname version; + hash = "sha256-xlSmvuLi81yC5syLbCYvyr03j1uhGsnvcVMPjau44vc="; }; build-system = [ setuptools ]; dependencies = [ numpy ]; + pythonImportsCheck = [ "sharedmem" ]; + meta = { homepage = "http://rainwoodman.github.io/sharedmem/"; description = "Easier parallel programming on shared memory computers"; maintainers = with lib.maintainers; [ edwtjo ]; license = lib.licenses.gpl3; }; -} +})