nixdirfmt!

This commit is contained in:
kat witch 2021-03-02 22:32:02 +00:00
parent bfdd94bf7e
commit ad1faf2f24
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
18 changed files with 151 additions and 166 deletions

View file

@ -13,7 +13,10 @@ let
arc = import sources.arc-nixexprs { pkgs = super; };
unstable = import sources.nixpkgs-unstable { inherit (self) config; };
nur = import sources.NUR { nurpkgs = self; pkgs = self; };
nur = import sources.NUR {
nurpkgs = self;
pkgs = self;
};
screenstub = unstable.callPackage ./screenstub { };
@ -26,4 +29,4 @@ let
colorhelpers = import ../lib/colorhelpers.nix { inherit (self) lib; };
};
in pkgs.extend(overlay)
in pkgs.extend (overlay)

View file

@ -1,29 +1,20 @@
{
fetchFromGitHub
, rustPlatform
, pkg-config
, lib
, libxcb
, udev
, python3
}: rustPlatform.buildRustPackage rec {
pname = "screenstub";
version = "2021-01-08";
src = fetchFromGitHub {
owner = "arcnmx";
repo = pname;
{ fetchFromGitHub, rustPlatform, pkg-config, lib, libxcb, udev, python3 }:
rustPlatform.buildRustPackage rec {
pname = "screenstub";
version = "2021-01-08";
src = fetchFromGitHub {
owner = "arcnmx";
repo = pname;
rev = "e379279fedaaa1d06b1d89da4cf54752814a456f";
sha256 = "0qv15rpazrpdspfcvyizbjdrrm2nrqz0790pa8zvp5bjsw4mvwvx";
};
sha256 = "0qv15rpazrpdspfcvyizbjdrrm2nrqz0790pa8zvp5bjsw4mvwvx";
};
patches = [
./main.patch
];
patches = [ ./main.patch ];
nativeBuildInputs = [ pkg-config python3 ];
buildInputs = [ libxcb udev ];
nativeBuildInputs = [ pkg-config python3 ];
buildInputs = [ libxcb udev ];
cargoSha256 = "0yijg5v731n49ygav2cfiawnw84hxd6kvik5hmz544vikxj96bj4";
cargoSha256 = "0yijg5v731n49ygav2cfiawnw84hxd6kvik5hmz544vikxj96bj4";
doCheck = false;
}
doCheck = false;
}

View file

@ -3,8 +3,7 @@
let
version = "0.1.1";
rev = "225a49a40941e350899e456366265cf82b87ad25";
sha256 =
"071zd8slra0iqsvzqpp6lcvg5dql5hkn161gh9aq34wix7pwzbn5";
sha256 = "071zd8slra0iqsvzqpp6lcvg5dql5hkn161gh9aq34wix7pwzbn5";
in stdenv.mkDerivation {
name = "vendor-reset-${version}-${kernel.version}";