mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 12:15:34 +03:00
degit-rs: init at 0.1.2-unstable-2021-09-22 (#407279)
This commit is contained in:
commit
30e38b5584
3 changed files with 1927 additions and 0 deletions
|
@ -4411,6 +4411,13 @@
|
|||
githubId = 631802;
|
||||
keys = [ { fingerprint = "099E 3F97 FA08 3D47 8C75 EBEC E0EB AD78 F019 0BD9"; } ];
|
||||
};
|
||||
chillcicada = {
|
||||
email = "2210227279@qq.com";
|
||||
name = "chillcicada";
|
||||
github = "chillcicada";
|
||||
githubId = 116548943;
|
||||
keys = [ { fingerprint = "734C 20B3 33C4 FAB3 0BD0 743A 34C2 1231 0A99 754B"; } ];
|
||||
};
|
||||
chiroptical = {
|
||||
email = "chiroptical@gmail.com";
|
||||
github = "chiroptical";
|
||||
|
|
1875
pkgs/by-name/de/degit-rs/Cargo.lock
generated
Normal file
1875
pkgs/by-name/de/degit-rs/Cargo.lock
generated
Normal file
File diff suppressed because it is too large
Load diff
45
pkgs/by-name/de/degit-rs/package.nix
Normal file
45
pkgs/by-name/de/degit-rs/package.nix
Normal file
|
@ -0,0 +1,45 @@
|
|||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
rustPlatform,
|
||||
pkg-config,
|
||||
openssl,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage {
|
||||
pname = "degit-rs";
|
||||
version = "0.1.2-unstable-2021-09-22";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "psnszsn";
|
||||
repo = "degit-rs";
|
||||
rev = "c7dbeb75131510a79400838e081b90665c654c80";
|
||||
hash = "sha256-swyfKnYQ+I4elnDnJ0yPDUryiFXEVnrGt9xHWiEe6wo=";
|
||||
};
|
||||
|
||||
# The source repo doesn't provide a Cargo.lock file, so we need to create one
|
||||
postPatch = ''
|
||||
ln -s ${./Cargo.lock} Cargo.lock
|
||||
'';
|
||||
|
||||
cargoLock.lockFile = ./Cargo.lock;
|
||||
|
||||
cargoHash = "sha256-bUoZsXU7iWK7MZ/hXk1JNUX1hN88lrU1mc1rrYuiCYs=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ openssl ];
|
||||
|
||||
# The test suite is not working for it requires a network connection,
|
||||
# so we disable it
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Rust rewrite of degit";
|
||||
homepage = "https://github.com/psnszsn/degit-rs";
|
||||
license = lib.licenses.mit;
|
||||
platforms = lib.platforms.linux;
|
||||
mainProgram = "degit";
|
||||
maintainers = with lib.maintainers; [ chillcicada ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue