Merge pull request #134536 from figsoda/disfetch-cleanup
disfetch: cleanup
This commit is contained in:
commit
17d61156a3
1 changed files with 4 additions and 4 deletions
|
@ -1,6 +1,4 @@
|
||||||
{ stdenv
|
{ stdenv, lib, fetchFromGitHub }:
|
||||||
, lib
|
|
||||||
, fetchFromGitHub }:
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "disfetch";
|
pname = "disfetch";
|
||||||
|
@ -16,7 +14,9 @@ stdenv.mkDerivation rec {
|
||||||
dontBuild = true;
|
dontBuild = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
install -Dm755 -t $out/bin disfetch
|
install -Dm755 -t $out/bin disfetch
|
||||||
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
@ -24,6 +24,6 @@ stdenv.mkDerivation rec {
|
||||||
homepage = "https://github.com/q60/disfetch";
|
homepage = "https://github.com/q60/disfetch";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
maintainers = [ maintainers.vel ];
|
maintainers = with maintainers; [ vel ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue