diff options
| author | Fuwn <[email protected]> | 2024-10-01 00:00:46 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-10-01 00:00:46 -0700 |
| commit | f974f6d3cd82b34d245399404b25990e021dbe01 (patch) | |
| tree | 272f62cb9b99e5908633d1f4b43c924db9454a02 | |
| parent | fina: add core modules (diff) | |
| download | nixos-config-f974f6d3cd82b34d245399404b25990e021dbe01.tar.xz nixos-config-f974f6d3cd82b34d245399404b25990e021dbe01.zip | |
lib: remove unused rust builder
| -rw-r--r-- | lib/build-rust-package.nix | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/lib/build-rust-package.nix b/lib/build-rust-package.nix deleted file mode 100644 index 7bebe99..0000000 --- a/lib/build-rust-package.nix +++ /dev/null @@ -1,42 +0,0 @@ -{ - lib, - rustPlatform, - fetchFromGitHub, -}: -{ - pname, - version, - githubOwner, - githubHash, - cargoHash, - description ? null, - license, - maintainers ? null, - buildInputs ? [ ], - nativeBuildInputs ? [ ], -}: -rustPlatform.buildRustPackage rec { - inherit - pname - version - buildInputs - nativeBuildInputs - cargoHash - ; - - src = fetchFromGitHub { - owner = githubOwner; - repo = pname; - rev = version; - hash = githubHash; - }; - - doCheck = false; - - meta = with lib; { - inherit description license; - homepage = "https://github.com/${githubOwner}/${pname}"; - inherit maintainers; - mainProgram = pname; - }; -} |