forked from mirrors/nixpkgs
deco: init at 0.0.1
This commit is contained in:
parent
ebd6566534
commit
90a3c8d358
36
pkgs/applications/misc/deco/default.nix
Normal file
36
pkgs/applications/misc/deco/default.nix
Normal file
|
@ -0,0 +1,36 @@
|
|||
{ stdenv, fetchFromGitHub, scsh, feh, xlibs }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "deco";
|
||||
version = "0.0.1";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ebzzry";
|
||||
repo = pname;
|
||||
rev = "037f473ae4bdce5d3e2f76891785f0f7479cca75";
|
||||
sha256 = "1fv15nc9zqbn3c51vnm50yidj5ivpi61zg55cs46x3gi2x79x43q";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp ${pname} $out/bin
|
||||
chmod +x $out/bin/${pname}
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
substituteInPlace $out/bin/deco --replace "/usr/bin/env scsh" "${scsh}/bin/scsh"
|
||||
substituteInPlace $out/bin/deco --replace "feh" "${feh}/bin/feh"
|
||||
substituteInPlace $out/bin/deco --replace "xdpyinfo" "${xlibs.xdpyinfo}/bin/xdpyinfo"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/ebzzry/deco;
|
||||
description = "A simple root image setter";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.ebzzry ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
|
||||
dontBuild = true;
|
||||
}
|
|
@ -2041,6 +2041,8 @@ let
|
|||
|
||||
darkice = callPackage ../tools/audio/darkice { };
|
||||
|
||||
deco = callPackage ../applications/misc/deco { };
|
||||
|
||||
icoutils = callPackage ../tools/graphics/icoutils { };
|
||||
|
||||
idutils = callPackage ../tools/misc/idutils { };
|
||||
|
|
Loading…
Reference in a new issue