forked from mirrors/nixpkgs
Merge pull request #131316 from siraben/knightos-rust
This commit is contained in:
commit
03ebc9d363
23
pkgs/development/tools/knightos/regenkfs/default.nix
Normal file
23
pkgs/development/tools/knightos/regenkfs/default.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{ lib, fetchFromGitHub, rustPlatform }:
|
||||
|
||||
rustPlatform.buildRustPackage {
|
||||
pname = "regenkfs";
|
||||
version = "unstable-2020-10-17";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "siraben";
|
||||
repo = "regenkfs";
|
||||
rev = "652155445fc39bbe6628f6b9415b5cd6863f592f";
|
||||
sha256 = "sha256-zkwOpMNPGstn/y1l1s8blUKpBebY4Ta9hiPYxVLvG6Y=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-05VmQdop4vdzw2XEvVdp9+RNmyZvay1Q7gKN2n8rDEQ=";
|
||||
cargoBuildFlags = [ "--features=c-undef" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Reimplementation of genkfs in Rust";
|
||||
homepage = "https://github.com/siraben/regenkfs";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ siraben ];
|
||||
};
|
||||
}
|
22
pkgs/development/tools/knightos/remkrom/default.nix
Normal file
22
pkgs/development/tools/knightos/remkrom/default.nix
Normal file
|
@ -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 ];
|
||||
};
|
||||
}
|
|
@ -11625,6 +11625,8 @@ in
|
|||
|
||||
knightos-genkfs = callPackage ../development/tools/knightos/genkfs { };
|
||||
|
||||
regenkfs = callPackage ../development/tools/knightos/regenkfs { };
|
||||
|
||||
knightos-kcc = callPackage ../development/tools/knightos/kcc { };
|
||||
|
||||
knightos-kimg = callPackage ../development/tools/knightos/kimg { };
|
||||
|
@ -11633,6 +11635,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 { };
|
||||
|
|
Loading…
Reference in a new issue