Move Nix files back to the root of the project
This commit is contained in:
parent
52044d9995
commit
087153a16d
223 changed files with 12 additions and 12 deletions
30
pkgs/displayselect/default.nix
Normal file
30
pkgs/displayselect/default.nix
Normal file
|
@ -0,0 +1,30 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
with pkgs;
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "displayselect";
|
||||
version = "0.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lukesmithxyz";
|
||||
repo = "voidrice";
|
||||
rev = "master";
|
||||
sha256 = "u4iy2p9i5ORLHcKmAOHVJNaKfYbt+SYUYKblgsRevN8=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
bash
|
||||
xorg.xrandr
|
||||
];
|
||||
|
||||
patches = [ ./scaling.patch ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp .local/bin/displayselect $out/bin
|
||||
chmod +x $out/bin/displayselect
|
||||
'';
|
||||
|
||||
meta.mainProgram = "displayselect";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue