ranger-git: factor out to package
This commit is contained in:
parent
83fb160819
commit
afa94e5ee8
2 changed files with 24 additions and 17 deletions
23
pkgs/by-name/ra/ranger-git/package.nix
Normal file
23
pkgs/by-name/ra/ranger-git/package.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
ranger,
|
||||
|
||||
fetchFromGitHub,
|
||||
python3Packages,
|
||||
}:
|
||||
|
||||
ranger.overrideAttrs (selfAttrs: superAttrs: {
|
||||
version = "git";
|
||||
src = fetchFromGitHub {
|
||||
owner = "ranger";
|
||||
repo = "ranger";
|
||||
rev = "c7777d558d5b69843b21f986e9af1af311c83887";
|
||||
hash = "sha256-DTVoEfc4dAaBTDLFujvWIYj5KHL89YknUiinIs9Rkeg=";
|
||||
};
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
# required for test suite, it's being ran during package build for some reason
|
||||
flake8
|
||||
pylint
|
||||
pytest
|
||||
setuptools
|
||||
] ++ superAttrs.propagatedBuildInputs;
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue