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/'
25 lines
667 B
Nix
25 lines
667 B
Nix
{ lib, stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "dpic";
|
|
version = "2024.01.01";
|
|
|
|
src = fetchurl {
|
|
url = "https://ece.uwaterloo.ca/~aplevich/dpic/${pname}-${version}.tar.gz";
|
|
sha256 = "sha256-FhkBrJr4bXMFUSuhtWSUBPtMgDoPqwYmJ8w8WJWthy8=";
|
|
};
|
|
|
|
# The prefix passed to configure is not used.
|
|
makeFlags = [ "DESTDIR=$(out)" ];
|
|
|
|
meta = with lib; {
|
|
description = "Implementation of the pic little language for creating drawings";
|
|
homepage = "https://ece.uwaterloo.ca/~aplevich/dpic/";
|
|
license = licenses.bsd2;
|
|
maintainers = with maintainers; [ aespinosa ];
|
|
platforms = platforms.all;
|
|
mainProgram = "dpic";
|
|
};
|
|
}
|
|
|