mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 23:54:01 +00:00
b6b24d2787
- add pythonImportsCheck
34 lines
714 B
Nix
34 lines
714 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "kitchen";
|
|
version = "1.2.6";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-uEz1gvG9FVa2DrxzcLnTMeuSR7awcM6J3+lZy6LAsDw=";
|
|
};
|
|
|
|
# Waiting for upstream's clean-up
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"kitchen"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Kitchen contains a cornucopia of useful code";
|
|
homepage = "https://github.com/fedora-infra/kitchen";
|
|
changelog = "https://github.com/fedora-infra/kitchen/blob/${version}/NEWS.rst";
|
|
license = licenses.lgpl2Only;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|