commit ba27eb8c5b22f241e8b815d8d3395c2331587a50
parent 7c4a1d71161ea630f018783783f4b8ce1500a049
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date: Thu, 23 Jan 2020 22:01:14 +0300
Move imgp to nixpkgs
Diffstat:
3 files changed, 0 insertions(+), 37 deletions(-)
diff --git a/default.nix b/default.nix
@@ -69,9 +69,6 @@ in rec {
gt4gd = python3Packages.callPackage ./pkgs/gt4gd {
inherit (sources) google-translate-for-goldendict;
};
- imgp = python3Packages.callPackage ./pkgs/imgp {
- inherit (sources) imgp;
- };
ish = callPackage ./pkgs/ish { };
libshell = callPackage ./pkgs/libshell {
inherit (sources) libshell;
diff --git a/nix/sources.json b/nix/sources.json
@@ -167,18 +167,6 @@
"url": "https://github.com/OPHoperHPO/GT-bash-client/archive/f8959489d93de963721985b2b9501ed0bc8ce3e8.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
- "imgp": {
- "branch": "master",
- "description": ":camera_flash: High-performance CLI batch image resizer & rotator",
- "homepage": "https://github.com/jarun/imgp",
- "owner": "jarun",
- "repo": "imgp",
- "rev": "9a50724cbc97a282ed79476398ab6ff3f6f7339e",
- "sha256": "13r4fn3dd0nyidfhrr7zzpls5ifbyqdwxhyvpkqr8ahchws7wfc6",
- "type": "tarball",
- "url": "https://github.com/jarun/imgp/archive/9a50724cbc97a282ed79476398ab6ff3f6f7339e.tar.gz",
- "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
- },
"libshell": {
"branch": "master",
"description": "A library of shell functions",
diff --git a/pkgs/imgp/default.nix b/pkgs/imgp/default.nix
@@ -1,22 +0,0 @@
-{ lib, buildPythonApplication, pillow, imgp }:
-
-buildPythonApplication rec {
- pname = "imgp";
- version = lib.substring 0 7 src.rev;
- src = imgp;
-
- propagatedBuildInputs = [ pillow ];
-
- installFlags = [
- "DESTDIR=$(out)"
- "PREFIX="
- ];
-
- meta = with lib; {
- description = imgp.description;
- homepage = imgp.homepage;
- license = licenses.gpl3;
- maintainers = with maintainers; [ sikmir ];
- platforms = platforms.unix;
- };
-}