python3Packages.shlib: init at 1.5
This commit is contained in:
parent
bc20ca6f34
commit
defb6bb798
39
pkgs/development/python-modules/shlib/default.nix
Normal file
39
pkgs/development/python-modules/shlib/default.nix
Normal file
@ -0,0 +1,39 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, braceexpand
|
||||
, inform
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "shlib";
|
||||
version = "1.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "KenKundert";
|
||||
repo = "shlib";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-2fwRxa64QXKJuhYwt9Z4BxhTeq1iwbd/IznfxPUjeSM=";
|
||||
};
|
||||
|
||||
pythonImportsCheck = [ "shlib" ];
|
||||
postPatch = ''
|
||||
patchShebangs .
|
||||
'';
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
propagatedBuildInputs = [
|
||||
braceexpand
|
||||
inform
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "shell library";
|
||||
homepage = "https://github.com/KenKundert/shlib";
|
||||
changelog = "https://github.com/KenKundert/shlib/releases/tag/v${version}";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ jpetrucciani ];
|
||||
};
|
||||
}
|
@ -10274,6 +10274,8 @@ self: super: with self; {
|
||||
|
||||
sh = callPackage ../development/python-modules/sh { };
|
||||
|
||||
shlib = callPackage ../development/python-modules/shlib { };
|
||||
|
||||
shellescape = callPackage ../development/python-modules/shellescape { };
|
||||
|
||||
shellingham = callPackage ../development/python-modules/shellingham { };
|
||||
|
Loading…
Reference in New Issue
Block a user