diff options
| author | patrick-scho | 2025-05-02 13:21:49 +0200 |
|---|---|---|
| committer | patrick-scho | 2025-05-02 13:21:49 +0200 |
| commit | 2a660a2ddfde8abc6fcba50107e012a888f911c1 (patch) | |
| tree | 4b825dc642cb6eb9a060e54bf8d69288fbee4904 | |
| parent | 4e1a80402d5699a4b512e9b12f6d710c0fd6332d (diff) | |
| download | flakes-2a660a2ddfde8abc6fcba50107e012a888f911c1.tar.gz flakes-2a660a2ddfde8abc6fcba50107e012a888f911c1.zip | |
rename flake
| -rw-r--r-- | flake.nix | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/flake.nix b/flake.nix deleted file mode 100644 index 6c18c4f..0000000 --- a/flake.nix +++ /dev/null @@ -1,44 +0,0 @@ -{ - description = "resetmsmice"; - - inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; - inputs.flake-utils.url = "github:numtide/flake-utils"; - - outputs = { self, nixpkgs, flake-utils }: - flake-utils.lib.eachDefaultSystem (system: - let - pkgs = import nixpkgs { inherit system; }; - in { - packages.default = pkgs.stdenv.mkDerivation { - pname = "resetmsmice"; - version = "0.0.0"; - src = pkgs.fetchFromGitHub { - owner = "paulrichards321"; - repo = "resetmsmice"; - rev = "2623a46bcfdaab199b1fc080060d4e3f1c94ce86"; - hash = "sha256-xRteJe7lAoyMrz13UIXCkg5dxhziT6e9Bn7+zYzt2j8="; - }; - - buildInputs = with pkgs; [ - autoconf automake pkg-config libusb1 shadow - ]; - - buildPhase = '' - autoreconf -i . - ./configure --disable-gui --prefix=$out - make - ''; - - installPhase = '' - mkdir -p $out/bin - cp resetmsmice $out/bin/ - ''; - }; - - apps.default = { - type = "app"; - program = "${self.packages.${system}.default}/bin/resetmsmice"; - }; - }); -} - |
