mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 16:53:21 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
20 lines
501 B
Nix
20 lines
501 B
Nix
{ lib, stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "buildtorrent";
|
|
version = "0.8";
|
|
|
|
src = fetchurl {
|
|
url = "https://mathr.co.uk/blog/code/${pname}-${version}.tar.gz";
|
|
sha256 = "sha256-6OJ2R72ziHOsVw1GwalompKwG7Z/WQidHN0IeE9wUtA=";
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Simple commandline torrent creator";
|
|
homepage = "https://mathr.co.uk/blog/torrent.html";
|
|
license = licenses.gpl3Plus;
|
|
platforms = platforms.all;
|
|
mainProgram = "buildtorrent";
|
|
};
|
|
}
|