diff options
author | Ben Siraphob <bensiraphob@gmail.com> | 2021-07-24 15:16:00 +0700 |
---|---|---|
committer | Ben Siraphob <bensiraphob@gmail.com> | 2021-07-24 16:00:50 +0700 |
commit | fb03ece3ed3e4280c39ab1e37a43b04d71b18742 (patch) | |
tree | 2d6d1324c46833833cec5e119b3f9e0cb7f2b4c5 | |
parent | e159380cc282c72c3ab2f7ca338135b74a81afd1 (diff) |
remkrom: init at unstable-2020-10-17
-rw-r--r-- | pkgs/development/tools/knightos/remkrom/default.nix | 22 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/tools/knightos/remkrom/default.nix b/pkgs/development/tools/knightos/remkrom/default.nix new file mode 100644 index 0000000000000..837006d1bf8db --- /dev/null +++ b/pkgs/development/tools/knightos/remkrom/default.nix @@ -0,0 +1,22 @@ +{ stdenv, lib, fetchFromGitHub, rustPlatform }: + +rustPlatform.buildRustPackage { + pname = "remkrom"; + version = "unstable-2020-10-17"; + + src = fetchFromGitHub { + owner = "siraben"; + repo = "remkrom"; + rev = "86a0b19c1d382a029ecaa96eeca7e9f76c8561d6"; + sha256 = "sha256-DhfNfV9bd0p5dLXKgrVLyugQHK+RHsepeg0tGq5J6cI="; + }; + + cargoSha256 = "sha256-JUyIbg1SxQ7pdqypGv7Kz2MM0ZwL3M9YJekO9oSftLM="; + + meta = with lib; { + description = "Reimplementation of mkrom in Rust"; + homepage = "https://github.com/siraben/remkrom"; + license = licenses.mit; + maintainers = with maintainers; [ siraben ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b00ec0ddaf418..6bb82eb85b111 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -11625,6 +11625,8 @@ in knightos-mkrom = callPackage ../development/tools/knightos/mkrom { }; + remkrom = callPackage ../development/tools/knightos/remkrom { }; + knightos-patchrom = callPackage ../development/tools/knightos/patchrom { }; knightos-mktiupgrade = callPackage ../development/tools/knightos/mktiupgrade { }; |