mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
cringify: init at 0.1.1
This commit is contained in:
parent
424040f784
commit
bbf6d7f244
34
pkgs/tools/text/cringify/default.nix
Normal file
34
pkgs/tools/text/cringify/default.nix
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
{ lib
|
||||||
|
, rustPlatform
|
||||||
|
, fetchFromGitHub
|
||||||
|
}:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "cringify";
|
||||||
|
version = "0.1.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "sansyrox";
|
||||||
|
repo = "cringify";
|
||||||
|
rev = "dd753818f8dd4b343be9370d2c29a6be070ad791";
|
||||||
|
hash = "sha256-6hSgOk9DzDfGtZX1vt6AQsKSLdPdqy2Mz3UtK6d2AuA=";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoHash = "sha256-w6lqPyUCaXZBQ1EmMyj0sVnEHugMD6JugIIK0rEa19Y=";
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
# Upstream forgot to update the version value
|
||||||
|
substituteInPlace src/main.rs --replace '0.1.0' ${version}
|
||||||
|
'';
|
||||||
|
|
||||||
|
# No tests are present in the repository
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Annoy your friends with the cringified text";
|
||||||
|
homepage = "https://github.com/sansyrox/cringify";
|
||||||
|
license = lib.licenses.mit;
|
||||||
|
mainProgram = "cringify";
|
||||||
|
maintainers = with lib.maintainers; [ tomasajt ];
|
||||||
|
};
|
||||||
|
}
|
@ -7096,6 +7096,8 @@ with pkgs;
|
|||||||
|
|
||||||
createrepo_c = callPackage ../tools/package-management/createrepo_c { };
|
createrepo_c = callPackage ../tools/package-management/createrepo_c { };
|
||||||
|
|
||||||
|
cringify = callPackage ../tools/text/cringify { };
|
||||||
|
|
||||||
cromfs = callPackage ../tools/archivers/cromfs {
|
cromfs = callPackage ../tools/archivers/cromfs {
|
||||||
stdenv = gcc10StdenvCompat;
|
stdenv = gcc10StdenvCompat;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user