Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 47 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748{ lib, buildPythonPackage, fetchgit, setuptools, lazr-delegates, zope-interface, pytestCheckHook,}:
buildPythonPackage rec { pname = "lazr-config"; version = "3.1"; pyproject = true;
src = fetchgit { url = "https://git.launchpad.net/lazr.config"; rev = "3c659114e8e947fbd46954336f5577351d786de9"; hash = "sha256-eYJY4JRoqTMG4j1jyiYrI8xEKdJ+wQYVVU/6OqVIodk="; };
build-system = [ setuptools ];
dependencies = [ lazr-delegates zope-interface ];
pythonImportsCheck = [ "lazr.config" ];
nativeCheckInputs = [ pytestCheckHook ];
# change the directory to avoid a namespace-related problem # ModuleNotFoundError: No module named 'lazr.delegates' preCheck = '' cd $out '';
pythonNamespaces = [ "lazr" ];
meta = { description = "Create configuration schemas, and process and validate configurations"; homepage = "https://launchpad.net/lazr.config"; changelog = "https://git.launchpad.net/lazr.config/tree/NEWS.rst?h=${version}"; license = lib.licenses.lgpl3Only; };}