File tree Expand file tree Collapse file tree 1 file changed +30
-38
lines changed
Expand file tree Collapse file tree 1 file changed +30
-38
lines changed Original file line number Diff line number Diff line change 11{ python3
2- , python3Packages
32, stdenv
4- , fetchgit
3+ , fetchFromGitLab
4+ , gobject-introspection
5+ , lib
56, meson
67, ninja
7- , gtk4
8- , glib
9- , gobject-introspection
10- , libadwaita
11- , wrapGAppsHook4
128} :
13- python3Packages . buildPythonApplication {
9+ stdenv . mkDerivation rec {
1410 pname = "blueprint-compiler" ;
15- version = "0.1.0 " ;
11+ version = "0.pre+date=2022-05-17 " ;
1612
17- src = fetchgit {
18- url = "https://gitlab.gnome.org/jwestman/blueprint-compiler.git" ;
19- rev = "db2e662d3173f6348b86d2350d4e2f0340ec939c" ;
20- sha256 = "sha256-aFx+aUDpc9wNgG/NUyIDgSZnURFShyTH1HhDjElTApY=" ;
13+ src = fetchFromGitLab {
14+ domain = "gitlab.gnome.org" ;
15+ owner = "jwestman" ;
16+ repo = pname ;
17+ rev = "06278a64248cec92bb95a958eadfba453943c061" ;
18+ sha256 = "sha256-ukvqWvYl4NohKEm6W50eRZ9fmKD4vhH0yzgrCf5HVts=" ;
2119 } ;
2220
23- preBuild = ''
24- cat >setup.py <<'EOF'
25- from setuptools import setup
26- setup(
27- name='blueprint-compiler',
28- version='0.1.0',
29- scripts=[
30- "blueprint-compiler.py",
31- ],
32- )
33- EOF
34- '' ;
21+ # Requires pythonfuzz, which I've found difficult to package
3522 doCheck = false ;
36- postInstall = ''
37- mv -v $out/bin/blueprint-compiler.py $out/bin/blueprint-compiler
38- '' ;
23+
3924 nativeBuildInputs = [
40- wrapGAppsHook4
41- ] ;
42- buildInputs = [
43- gtk4
44- glib
45- gobject-introspection
46- python3Packages . pygobject3
47- libadwaita
48- wrapGAppsHook4
25+ meson
26+ ninja
27+ python3 . pkgs . wrapPython
4928 ] ;
5029 propagatedBuildInputs = [
5130 gobject-introspection
31+ python3
5232 ] ;
53- }
33+
34+ postFixup = ''
35+ wrapPythonPrograms
36+ '' ;
37+
38+ meta = with lib ; {
39+ description = "A markup language for GTK user interface files" ;
40+ homepage = "https://gitlab.gnome.org/jwestman/blueprint-compiler" ;
41+ license = licenses . lgpl3Plus ;
42+ maintainers = [ maintainers . ranfdev ] ;
43+ platforms = platforms . all ;
44+ } ;
45+ }
You can’t perform that action at this time.
0 commit comments