scfbuild: move to all-packages

It's not a library.
This commit is contained in:
Nikolay Amiantov 2018-02-25 20:19:10 +03:00
parent 86db477589
commit c336e5c872
3 changed files with 32 additions and 33 deletions

View File

@ -0,0 +1,30 @@
{ lib, buildPythonApplication, fetchFromGitHub, python, pyyaml, fonttools, fontforge }:
buildPythonApplication rec {
name = "scfbuild-${version}";
version = "1.0.3";
src = fetchFromGitHub {
owner = "eosrei";
repo = "scfbuild";
rev = "c179c8d279b7cc0a9a3536a713ac880ac6010318";
sha256 = "1bsi7k4kkj914pycp1g92050hjxscyvc9qflqb3cv5yz3c93cs46";
};
phases = [ "unpackPhase" "installPhase" "fixupPhase" ];
propagatedBuildInputs = [ pyyaml fonttools fontforge ];
installPhase = ''
mkdir -p $out/${python.sitePackages}
cp -r scfbuild $out/${python.sitePackages}
cp -r bin $out
'';
meta = with lib; {
description = "SVGinOT color font builder";
homepage = https://github.com/eosrei/scfbuild;
license = licenses.gpl3;
maintainers = with maintainers; [ abbradar ];
};
}

View File

@ -4626,6 +4626,8 @@ with pkgs;
qtbase = qt4; qmake = qmake4Hook;
};
scfbuild = python2.pkgs.callPackage ../tools/misc/scfbuild { };
scrot = callPackage ../tools/graphics/scrot { };
scrypt = callPackage ../tools/security/scrypt { };
@ -14012,7 +14014,6 @@ with pkgs;
emojione = callPackage ../data/fonts/emojione {
inherit (nodePackages) svgo;
inherit (pythonPackages) scfbuild;
};
encode-sans = callPackage ../data/fonts/encode-sans { };
@ -14327,7 +14328,6 @@ with pkgs;
twemoji-color-font = callPackage ../data/fonts/twemoji-color-font {
inherit (nodePackages) svgo;
inherit (pythonPackages) scfbuild;
};
tzdata = callPackage ../data/misc/tzdata { };

View File

@ -6635,37 +6635,6 @@ in {
};
};
scfbuild = self.buildPythonPackage rec {
name = "scfbuild-${version}";
version = "1.0.3";
disabled = isPy3k;
src = pkgs.fetchFromGitHub {
owner = "eosrei";
repo = "scfbuild";
rev = "c179c8d279b7cc0a9a3536a713ac880ac6010318";
sha256 = "1bsi7k4kkj914pycp1g92050hjxscyvc9qflqb3cv5yz3c93cs46";
};
phases = [ "unpackPhase" "installPhase" "fixupPhase" ];
propagatedBuildInputs = with self; [ pyyaml fonttools fontforge ];
installPhase = ''
mkdir -p $out/${python.sitePackages}
cp -r scfbuild $out/${python.sitePackages}
cp -r bin $out
'';
meta = with stdenv.lib; {
description = "SVGinOT color font builder";
homepage = "https://github.com/eosrei/scfbuild";
license = licenses.gpl3;
maintainers = with maintainers; [ abbradar ];
};
};
schedule = buildPythonPackage rec {
name = "schedule-0.3.2";